<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>我的XXX-我的点评</title>
		<#include "/WEB-INF/ftl/user/include.ftl" />
		<link type="text/css" rel="stylesheet" href="${base}/css/user/user.css" />
		<link type="text/css" rel="stylesheet" href="${base}/css/user/user_comment.css" />
	</head>
	<body>
		<div class="justify-footer-wrapper">
			<#include "/WEB-INF/ftl/user/header.ftl" />
			<div class="wrapper">
				<div class="side">
					<h2 class="side-hd">我的XXX</h2>
					<ul class="side-list">
						<li><a href="${base}/user/userCenter.do">个人中心</a></li>
						<li><a href="${base}/user/userInfo.do">个人信息</a></li>
						<li class="pre-selected"><a href="javascript:void(0);">更换头像</a></li>
						<li class="selected"><a href="${base}/user/userHardwareComment.do">我的点评</a></li>
						<li><a href="${base}/user/userScheme.do">我的方案</a></li>
						<li><a href="${base}/user/userOrder.do">我的订单</a></li>
						<li class="last"><a href="${base}/user/userPassword.do">修改密码</a></li>
					</ul>
				</div>
				<div class="main">
					<h1 class="title">我的点评</h1>
					<div class="content">
						<div class="tab">
							<a href="javascript:void(0);" class="selected">硬件点评</a>
							<a href="javascript:void(0);">方案点评</a>
						</div>
						<div class="list-hd">&nbsp;</div>
						<ul class="list">
							<#list commentList as comment>
							<li class="list-item hardware">
								<#assign title = comment.title />
								<#assign time = comment.time />
								<#assign good = comment.good?replace('\\s+', ' ', 'r') />
								<#assign bad = comment.bad?replace('\\s+', ' ', 'r') />
								<#assign summary = comment.summary?replace('\\s+', ' ', 'r') />
								<div class="pic">
									<a target="_blank" href="javascript:void(0);">
										<img width="100" height="75" src="${base}/pic/default.jpg" alt="" />
									</a>
								</div>
								<div class="comment">
									<h3><a target="_blank" href="javascript:void(0);" class="blue">华硕P8H61-M LE</a></h3>
									<p>
										<a target="_blank" href="javascript:void(0);" class="comment-hd blue">${title}</a>
										(${time})
									</p>
									<p class="comment-good">
										<span>优点：</span>
										${good}
									</p>
									<p class="comment-bad">
										<span>缺点：</span>
										${bad}
									</p>
									<p class="comment-summary">
										<span>总结：</span>
										${summary}
									</p>
								</div>
								<div class="other">
									<p><a href="javascript:void(0);" class="blue">删除</a></p>
								</div>
							</li>
							</#list>
						</ul>
					</div>
				</div>
			</div>
		</div>
		<#include "/WEB-INF/ftl/user/footer.ftl" />
	</body>
</html>
